import typing

from PyQt5.QtWidgets import QPushButton, QWidget, QStyle


class IndexButton(QPushButton):

    def __init__(self, parent: typing.Optional[QWidget] = ...) -> None:
        super().__init__(parent)
        self.setStyleSheet('''border-top: 40px solid white;\nborder-left: 25px solid transparent;\nborder-right: 25px 
        solid transparent;\nheight: 0;\nwidth: 100px;''')

